package com.imau.service;

import com.github.pagehelper.PageInfo;
import com.imau.bean.Teacher;

import java.util.List;

public interface TeacherService {


    Teacher save(Teacher teacher);

    int deleteById(String did);

    Teacher findById(String did);

    List<Teacher> queryList(Teacher dept);

    PageInfo<Teacher> queryListByPagte(Teacher dept, int currentPage, int size);

    int updateTeacher(Teacher teacher);

}
